/*============================================================================
 PROJECT: Kleii
 FILE:    MKAssetPickerController.h
 AUTHOR:  Khoai Nguyen Minh
 DATE:    12/21/13
 =============================================================================*/

/*============================================================================
 IMPORT
 =============================================================================*/
#import "BaseNavigationController.h"

/*============================================================================
 MACRO
 =============================================================================*/
typedef NS_ENUM(NSInteger, MKAssetType) {
    kMKAssetTypePhoto,
    kMKAssetTypeVideo,
    kMKAssetTypeAll
};

/*============================================================================
 PROTOCOL
 =============================================================================*/
typedef void(^MKAssetPickerControllerCallback)(NSMutableArray *assets, NSError *error);

/*============================================================================
 Interface:   MKAssetPickerController
 =============================================================================*/


@interface MKAssetPickerController : BaseNavigationController
@property (nonatomic, strong) MKAssetPickerControllerCallback callback;
@property (nonatomic, assign) MKAssetType assetType;

+ (MKAssetPickerController *)assetPickerController;
- (void)pickerAssetsType:(MKAssetType)assetType resultBlock:(void(^)(NSMutableArray *assets, NSError *error))resultBlock;
@end
